package com.leyou.order.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "tb_order_evaluate")
public class OrderEvaluate {

    @Id
    private Long id;       //评价单id
    private Long spuId;    //订单的spuId

    private String userName;   //用户名字
    private boolean anonymity; //是否匿名评价
    private String skuName;  //订单的sku名字
    private String skuImage; //订单的sku图片
    private Long skuPrice; //订单的sku价格

    private Long orderScore; //订单的评分
    private String orderComment; //订单的评价内容
    private String orderImage;  //评价上传的图片

}
